package chapter02;

public class Eample05 {
    public static void main (String[] args) {
        short s = 3;
        int i = 5;
        // 计算时s 和i 都提升为int型 计算结果int型 但是Java强制转化成short赋值给s
        s += i;
        System.out.println("s = " + s);
    }
}
